<script>
	export default {
		onLaunch: function(option) {
			
			
			console.log('App Launch',option.query);
			if(option.query && option.query.data){
				console.log("数据存在",option.query.data);
				uni.setStorageSync('types', option.query.data)
			}
			if(option.query && option.query.pid && option.utype == 1){
				uni.setStorageSync('pid', option.query.pid)
			}
			if(option.query && option.query.utype == 1){
				uni.setStorageSync('isphone', true)
			}else{
				uni.setStorageSync('isphone', false)
			}
			if(option.query && option.query.mobile){
				uni.setStorageSync('mobile', option.query.mobile)
			}
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>


 <style lang="scss">
	 page {
	 	background: #f5f5f5;
	 }
 	@import "@/uni_modules/uview-plus/index.scss";
	@import "./static/css/xStyle.css"
</style>
